package in;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.util.Arrays;
import java.util.Scanner;

import static java.lang.Math.*;


public class demo {
    public static final int a=3;
    public static int qiuhe(int b)
    {
        return a+3;
    }

    public static void main9(String[] args) {
        String a="helloworld";
        //String b=a.substring(0,3);
       // System.out.println(b);
        String b=a.join(a,"love");
        System.out.println(b);


        //System.out.println();
    }

    public static void main8(String[] args) {
        int[]arr1={1,2,3,4,5,6};
        int[]arr2= Arrays.copyOf(arr1,2*arr1.length);
        for (int i = 0; i < arr2.length; i++) {
            System.out.print(arr2[i]+" ");


        }
        System.out.println();
        int[]arr3=Arrays.copyOf(arr1,4);
        for (int i = 0; i < arr3.length; i++) {
            System.out.print(arr3[i]+" ");

        }
    }


    public static void main7(String[] args) {
        int[]arr1={1,2,3,4,5,6};
        int[]arr2=arr1;
        arr2[0]=0;
        System.out.println(arr1[0]);
        System.out.println(arr2[0]);
    }

    public static void main6(String[] args) {
        int i=0;

        int a=3;



       for(i=0;i<5;i++)
       {
           int j=0;
           for(j=0;j<6;j++)
           {
               if(j==5)
               {
                   break ;
               }
           }
       }



    }



    public static void main5(String[] args) {

        System.out.println(qiuhe(a));


    }
    public static void main4(String[] args) {
        Scanner in=  new Scanner(System.in);
        //int b=in.nextInt();
       double c=in.nextDouble();
        System.out.println(c);
    }

    public static void main3(String[] args) {
        Scanner in=  new Scanner(System.in);
       // String a="hello world";
        //String b=in.next();
        String b=in.nextLine();
        System.out.println(b);
    }
    public static void main2(String[] args) {
    double a=4.97;
        System.out.println(round(a));

    }
    public static void main1(String[] args) {

        int a=4;
        System.out.println(sqrt(a));
        System.out.println(pow(a,3));
    }




}
